package com.jxd.ordersys.dao;

import com.jxd.ordersys.model.Orders;

import java.util.List;

public interface OrdersMapper {
    /**
     * 批量删除订单
     * @param orderIds 订单编号列表
     * @return 删除结果
     */
    int delOrder(List<Integer> orderIds);

    int addOrder();


    boolean OrderExists(Integer empId);

    Orders selectOrderByEmpId(Integer empId);

    int addOrder(Orders order);

    int editOrder(Orders order);


    Orders getOrderById(Integer orderId);
}
